package com.ruoyi.hospital.domain.member;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户评论对象 member_comment
 * 
 * @author wendao
 * @date 2024-09-29
 */
public class MemberComment extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** 用户 */
    @Excel(name = "用户")
    private String memberName;
    private Integer memberId;
    private String avatar;
    private String phone;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String commentContent;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String replyToComment;
    private Integer replyTime; //回复时间

    /** 星级 */
    @Excel(name = "星级")
    private String starRating;

    /** 评论类型 */
    @Excel(name = "评论类型")
    private Integer commentType;

    /** 评价对象 */
    @Excel(name = "评价对象")
    private Integer commentId;

    private String pics;   //图片评价


    private Integer docId;

    public Integer getDocId() {
        return docId;
    }

    public void setDocId(Integer docId) {
        this.docId = docId;
    }

    public String getPics() {
        return pics;
    }

    public void setPics(String pics) {
        this.pics = pics;
    }

    /** 删除时间 */
    private Integer deleteTime;

    public Integer getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(Integer replyTime) {
        this.replyTime = replyTime;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setMemberId(Integer memberId) 
    {
        this.memberId = memberId;
    }

    public Integer getMemberId() 
    {
        return memberId;
    }
    public void setCommentContent(String commentContent) 
    {
        this.commentContent = commentContent;
    }

    public String getCommentContent() 
    {
        return commentContent;
    }
    public void setReplyToComment(String replyToComment) 
    {
        this.replyToComment = replyToComment;
    }

    public String getReplyToComment() 
    {
        return replyToComment;
    }
    public void setStarRating(String starRating) 
    {
        this.starRating = starRating;
    }

    public String getStarRating() 
    {
        return starRating;
    }
    public void setCommentType(Integer commentType) 
    {
        this.commentType = commentType;
    }

    public Integer getCommentType()
    {
        return commentType;
    }
    public void setCommentId(Integer commentId) 
    {
        this.commentId = commentId;
    }

    public Integer getCommentId() 
    {
        return commentId;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("memberId", getMemberId())
            .append("commentContent", getCommentContent())
            .append("replyToComment", getReplyToComment())
            .append("starRating", getStarRating())
            .append("commentType", getCommentType())
            .append("commentId", getCommentId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
